package com.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gulimall.common.utils.PageUtils;
import com.gulimall.product.entity.AttrEntity;
import com.gulimall.product.entity.AttrGroupEntity;
import com.gulimall.product.vo.AttrRelationVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author kkk
 * @email 2017809755@qq.com
 * @date 2022-05-17 21:49:10
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long category);

    AttrGroupEntity getGroupPaths(Long attrGroupId);

    List<AttrEntity> getAttrRelation(Long catelogId);

    void matchDeleteRelation(List<AttrRelationVo> relationVo);

    PageUtils getNoattrRelation(Map<String, Object> params, Long attrGroupId);

    List<AttrGroupEntity> queryAttrGroupByCatelogId(Long catelogId);
}

